import instance from '@/http/index.js'

//获取反馈列表
export const getFeedbackList = (pager) => {
    return instance.post('/feedback/getFeedbackList',{pager})
}
//提交反馈
export const submitFeedback = (data) => {
    return instance.post('/feedback/submitFeedback', data)
}

//处理反馈
export const handleFeedback = (id,solution) => {
    return instance.post('/feedback/handleFeedback', {id,solution})
}

//获取反馈列表（个人版）
export const getFeedbackListByMe = (pager,student_id) => {
    return instance.post('/feedback/getFeedbackListByMe',{pager,student_id})
}